package org.esin.local;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageButton;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main_activity);
        
        ImageButton ibtn1= (ImageButton)findViewById(R.id.ImageButton01);
    	ImageButton ibtn2= (ImageButton)findViewById(R.id.ImageButton02);
    	ImageButton ibtn3= (ImageButton)findViewById(R.id.ImageButton03);
    	ImageButton ibtn4= (ImageButton)findViewById(R.id.ImageButton04);
    	//ImageButton ibtn5= (ImageButton)findViewById(R.id.ImageButton05);
        ibtn1.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v)
            {
            	Intent intent =new Intent();
                intent.setClass(MainActivity.this, AboutActivity.class);
                MainActivity.this.startActivity(intent);
              }
            });
        ibtn2.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v)
            {
            	Intent intent =new Intent();
                intent.setClass(MainActivity.this, SceniActivity.class);
                MainActivity.this.startActivity(intent);
              }
            });
        ibtn3.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v)
            {
            	Intent intent =new Intent();
                intent.setClass(MainActivity.this, FoodActivity.class);
                MainActivity.this.startActivity(intent);
              }
            });
        ibtn4.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v)
            {
            	Intent intent =new Intent();
                intent.setClass(MainActivity.this, LineActivity.class);
                MainActivity.this.startActivity(intent);
              }
            });
        
    }
    
    
    
}